import $ from '@/config/http.js'



/**
住院预约的功能
接口地址
http://dev.cr-health.com:4499/showdoc/index.php/Home/item/show?keyword=queryBindPatInfo&item_id=8


3.3.11查询医院字典数据信息：
http[s]://[ip]:[port]/crPatient/cxf/rest/inHospitalRegistration/queryDictionaries/{hospitalId}

3.3.12查询医院省市字典信息
http[s]://[ip]:[port]/crPatient/cxf/rest/inHospitalRegistration/querySieDictionaries/{hospitalId}

3.3.10查询绑定的就诊人列表
http[s]://[ip]:[port]/crPatient/cxf/rest/inHospitalRegistration/queryBindPatInfo

6.3.8查询医院入院通知书序列号
http[s]://[ip]:[port]/crPatient/cxf/rest/inHospitalRegistration/queryNoticeSerialNo

6.3.9根据入院通知序列号查询登记详情
http[s]://[ip]:[port]/crPatient/cxf/rest/inHospitalRegistration/getDetailByNoticeSerialNo/{noticeSerialNo}

6.3.10入院登记信息保存
http[s]://[ip]:[port]/crPatient/cxf/rest/inHospitalRegistration/saveResidentAdmitNote

6.3.11更新按时入院状态
http[s]://[ip]:[port]/crPatient/cxf/rest/inHospitalRegistration/updateOntimeInHospitalStateRequestDTO


 */


export const post_demo = (params) => {
  return $.post('/cxf/rest/follow/doctorComment', params)
}

/**
 */
export const get_demo = (patId) =>
  $.get(`/cxf/rest/medicalCard/getCard/${patId}`)

